package tt.dz.egobus.servicemanager.base.dialect;

import org.hibernate.dialect.PostgresPlusDialect;

import java.sql.Types;

/**
 * @author Anson
 * @date 17-8-25
 * @name 新增jsonb的方言
 * @since 1.0.6
 */
public class ServiceManagerPostgreSqlDialect extends PostgresPlusDialect {

    public ServiceManagerPostgreSqlDialect() {
        this.registerColumnType(Types.JAVA_OBJECT, "jsonb");
    }
}
